----------------------------
-- Simplistic Street
-- by Jammie Dodger
--
-- Project Started - October 20, 2009
-- Completion -None
----------------------------

function NilFix( value, default )
	if ( value == nil ) then
		return default
	else
		return value
	end
end

function ZeroFix( value, default )
	if ( value == 0 ) then
		return default
	else
		return value
	end
end

function ReferenceFix( data )
	if( type( data ) == "table" ) then
		return table.Copy( data )
	else
		return data
	end
end